package com.example.spring.activemq.jms.constant;

/**
 * Title: QueueConstant类
 * Description: TODO 类描述
 * <p>
 * 修改记录:
 * 版本号    修改人        修改日期       修改内容
 *
 * @author luodongdong
 * @version 1.00.00 创建时间：2019/8/7 17:55
 */
public class QueueConstant {

    /**
     * 队列类型（fanout/dirct/topic/header）
     */
    public static final String TYPE = "direct";

    public static final String DURABLE = "true";

    //------------------------------exchange-------------------------------------
    /**
     * 拉单
     */
    public static final String PULLORDER_EXCHANGE = "pullorder_exchange";
    /**
     * 下发
     */
    public static final String PUSHORDER_EXCHANGE = "pushorder_exchange";
    /**
     * 订单变更
     */
    public static final String STATUSSYNC_EXCHANGE = "statussync_exchange";
    /**
     * 库存
     */
    public static final String WAREHOUSE_EXCHANGE = "warehouse_exchange";
    /**
     * 退单
     */
    public static final String BACKORDER_EXCHANGE = "backorder_exchange";
    /**
     * 操作履历
     */
    public static final String RESUME_EXCHANGE = "resume_exchange";
    /**
     * 物流
     */
    public static final String EXPRESS_EXCHANGE = "express_exchange";

//------------------------------rouringkey-------------------------------------
    /**
     * 拉单
     */
    public static final String PULLORDER_KEY = "pullorder_key";
    /**
     * 拉单存储
     */
    public static final String PULLHISTORYORDER_KEY = "pullhistoryorder_key";
    /**
     * 下发
     */
    public static final String PUSHORDER_KEY = "pushorder_key";
    /**
     * 订单变更
     */
    public static final String STATUSSYNC_KEY = "statussync_key";
    /**
     * 库存
     */
    public static final String WAREHOUSE_KEY = "warehouse_key";
    /**
     * 退单获取
     */
    public static final String PULLBACKORDER_KEY = "pullbackorder_key";
    /**
     * 退单获取插历史库
     */
    public static final String PULLHISTORYBACKORDER_KEY = "pullhistorybackorder_key";
    /**
     * 退单下发
     */
    public static final String PUSHBACKORDER_KEY = "pushbackorder_key";
    /**
     * 操作履历
     */
    public static final String RESUME_KEY = "resume_key";
    /**
     * 物流
     */
    public static final String EXPRESS_KEY = "express_key";
    /**
     * 获取物流单号
     */
    public static final String GETEXPRESS_KEY = "getexpress_key";


    //------------------------------topic-------------------------------------
    /**
     * 拉单
     */
    public static final String PULLORDER_QUEUE = "pullorder_queue";
    /**
     * 下发
     */
    public static final String PUSHORDER_QUEUE = "pushorder_queue";
    /**
     * 订单变更
     */
    public static final String STATUSSYNC_QUEUE = "statussync_queue";
    /**
     * 库存
     */
    public static final String WAREHOUSE_QUEUE = "warehouse_queue";
    /**
     * 退单
     */
    public static final String BACKORDER_QUEUE = "backorder_queue";
    /**
     * 操作履历
     */
    public static final String RESUME_QUEUE = "resume_queue";
    /**
     * 物流
     */
    public static final String EXPRESS_QUEUE = "express_queue";
}
